﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Microsoft.Office.Interop.Outlook;
using System.Xml;

namespace Outlook.WorItems.Extension.Managers.TeamProjectManager
{
    //public class ErrorManager : IDisposable
    //{
    //    private static string appDataFolder = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\OWIPlugin\\projectLinkError.log";
    //    private static ErrorManager instance;
    //    private XmlTextWriter writer;

    //    private ErrorManager()
    //    {
    //        writer = new XmlTextWriter(File.CreateText(appDataFolder));
    //    }

    //    public static ErrorManager()
    //    {
    //        instance = new ErrorManager();
    //    }

    //    public void WriteWorkItemActionError(MailItem mail, string entryId, string storeId)
    //    {
    //    }

    //    public void Dispose()
    //    {
    //        if (writer != null)
    //        {
    //            writer.Close();
    //            writer = null;
    //        }
    //    }

    //}
}
